-------------------------------------------------------------------------------------------
<retry condition="@(context.Response.StatusCode != 200)" count="2" interval="3" max-interval="10" delta="2" first-fast-retry="true">            
           <forward-request timeout="10" />
</retry> 
-------------------------------------------------------------------------------------------
## Store the payload in a variable
<set-variable name="payload" value="@(context.Request.Body.As<string>(preserveContent: true))" /> 

## Use the variable to set the request body just before forwarding request to backend
<set-body>@((string)context.Variables["payload"])</set-body>
-------------------------------------------------------------------------------------------